package com.groupa.project1.chat;

import com.groupa.project1.chat.interfaces.SearchProfile;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;

/**
 *
 * @author groupA
 */
public class SearchProfileMessage extends Msg implements SearchProfile , Serializable{
     /** Implementacion de la interfaz SearchProfile */
   
   private Object[] keywords;
   private String propertie;
   
    public SearchProfileMessage(String keyword){
           keywords = new String[2];
           keywords[0] = keyword;
    }   
    public Object[] getKeywords(){
        return keywords;
    }
    public void setKeyword(String keyword, int index){
        keywords[index] = keyword;
    }
    public void setPropertie(String propertie){
        this.propertie = propertie;
    }
    public String getPropertie(){
        return propertie;
    }
}